package test.san.baseproject.util

import android.os.Handler
import android.os.Looper

object ThreadUtil {

    val handle = Handler(Looper.getMainLooper())

    // 运行在主线程中
    fun runOnMainThread(runnable: Runnable) {
        handle.post(runnable)
    }
}